package cn.dzhang.spring.boot.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

import cn.dzhang.spring.boot.model.OperationLog;
import cn.dzhang.spring.boot.repository.SecurityOperationRepository;
import cn.dzhang.spring.boot.service.JpaAdapter;
import cn.dzhang.spring.boot.service.SecurityOperationService;

@Service
public class SecurityOperationImpl extends JpaAdapter<OperationLog, Long>
		implements SecurityOperationService {

	@Autowired
	private SecurityOperationRepository repository;

	@Override
	protected JpaRepository<OperationLog, Long> getRepository() {
		return repository;
	}
}
